<!-- 利用省份地图，注明自己的家乡，地图名字用自己名字； -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script src="js/echarts.js"></script>
    <script src="js/zhejiang.js"></script>

    <title>Document</title>
  </head>
  <body>
    <div id="main" style="width: 600px; height: 400px"></div>
    <script>
      var myChart = echarts.init(document.getElementById("main"));
      var option = {
        title: {
          text: "金义选",
        },
        series: [
          {
            type: "map",
            map: "浙江",

            itemStyle: {
              borderColor: "red",
            },
            label: {
              show: true,
            },
            data: [
              {
                name: "台州市",
                itemStyle: {
                  areaColor: "red",
                },
              },
            ],
          },
        ],
      };

      myChart.setOption(option);
    </script>
  </body>
</html>
